using System;
using System.Collections.Generic;
using System.Text;
using System.Data;

namespace LHS.Core.TableInfo
{
    public class InfoSurgeryDetail
    {
        public const string CLRISN = "clrISN";
        public const string SURISN = "surISN";
        public const string SURSURGERYDATE = "surSurgeryDate";
        public const string SURSURGERYMETHOD = "surSurgeryMethod";
        public const string SURDOCTORPRIMARY = "surDoctorPrimary";
        public const string SURDOCTOR1 = "surDoctor1";
        public const string SURDOCTOR2 = "surDoctor2";
        public const string SURDOCTOR3 = "surDoctor3";
        public const string SURDOCTORANAESTHETIZE = "surDoctorAnaesthetize";
        public const string SURTREATHELPER = "surTreatHelper";
        public const string SURSURGERYREPORT = "surSurgeryReport";

        public const string TABLENAME = "SurgeryDetail";

        public static DataTable GetStructure()
        {
            DataTable dt = new DataTable();
            dt.Columns.Add(CLRISN, typeof(int));
            dt.Columns.Add(SURISN, typeof(int));
            dt.Columns.Add(SURSURGERYDATE, typeof(DateTime));
            dt.Columns.Add(SURSURGERYMETHOD, typeof(string));
            dt.Columns.Add(SURDOCTORPRIMARY, typeof(int));
            dt.Columns.Add(SURDOCTOR1, typeof(int));
            dt.Columns.Add(SURDOCTOR2, typeof(int));
            dt.Columns.Add(SURDOCTOR3, typeof(int));
            dt.Columns.Add(SURDOCTORANAESTHETIZE, typeof(int));
            dt.Columns.Add(SURTREATHELPER, typeof(int));
            dt.Columns.Add(SURSURGERYREPORT, typeof(string));

            dt.TableName = TABLENAME;
            return dt;
        }
    }
}
